<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>学子商城案例</title>
<style type="text/css">
/*设置全局的字体和颜色*/
	body{	
    	font: 12px "simhei", Arial, Helvetica, sans-serif;
    	color:#666;
	}
	body>div{                     /*body标签下的子元素div*/
		    width:375px;
    		height: 376px;
    		background-size:292px 232px;
    		background-color: #E8E8E8;
    		background-image: url("http://doc.canglaoshi.org/tstore_v1/images/itemCat/study_computer_img2.png");
    		background-repeat: no-repeat;
    		background-position: 75% 85%;
    		overflow:hidden;  /*解决粘连问题  */
	}
	div>div{
			width: 253px;
    		height: 232px;
    		text-align:	left;
    		margin: 39px 0px 0px 25px;
	}
	#p1{
		    color: #333333;
   			font-size: 32px;
    		margin-bottom: 12px; /*距离下面元素的距离  */
    		font-weight: lighter;
	}
	#p2{
			margin-bottom: 24px;
		    font-size: 12px;
		    font-weight: lighter;
	}
	#p3{
			margin-bottom: 12px;
		    font-weight: bold;
		    color: #0AA1ED;
		    font-size: 24px;
	}
	input{
			width: 132px;        /*按钮框的宽为132像素*/
    		height: 40px;           /*按钮框的高为20像素*/
    		font-size: 20px;      /*按钮内的字体大小*/
    		border: 0;            /*去掉按钮自带的边框*/
    		border-radius: 2px;            /*将边框的四角设置为圆角*/
    		color:white;                  /*字体颜色为白色*/
    		cursor:pointer;           /*鼠标变成小手*/
    		background-color: #0AA1ED;     /*按钮的背景色*/
}
	}
</style>
</head>	
<body>
<div>
	<div>
		<p id="p1">颜值 框不住</p>
		<p id="p2">酷睿双核i5处理器|256GB SSD| 8GB内存 <br>
		        英特尔HD显卡620含共享显卡内存</p>
		<p id="p3">￥6888.00</p>       
		<input type="submit" value="查看详情" >
	</div>
</div>
</body>
</html>